<template>
	<view class="back">
		<!-- 顶部 -->
		<view style="width: 100%;height: 10%;margin-bottom: 32px;" >
			<view>
				<image style="width: 80rpx;height:80rpx;margin-left: 50rpx;position: relative;top:95rpx;"
					class="shrink-0 image_3"
					src="http://101.43.223.224:8765/image/getImageById?id=6756" />
			</view>
			<view class="div2">
				<view class="div2-2"
					style="display: flex; align-items: center; justify-content: center;color: #636363;margin-top: 15rpx;"
					>
					<view style="float: left;">
						<image style="width: 40rpx;height: 40rpx;margin-left: -90rpx;" src="../../../static/哑铃.png" alt="">
						</image>
					</view>
					<view style="float: left; margin-left: 10rpx;letter-spacing: 2px;font-size: 28rpx;">
						<text style="font-weight: bold;">追云健身俱乐部</text>
					</view>
				</view>
			</view>
		</view>
		<view class="c1" style="margin:auto;height: 5%;width: 96%;padding-top: 10rpx;border-radius: 15px;">
			 <view style="margin-left: 30rpx;font-size: 34rpx;"><uni-icons type="left" size="30"></uni-icons></view>
		</view>
		<view style="width: 100%; text-align: center; margin-top: 50rpx; display: flex; flex-direction: column; justify-content: center;">
		  <text style="font-size: 54rpx; font-weight: bold;">请问你的身份是?</text>
		  <view @click="goStudent" style="font-size: 40rpx; font-weight: 400;margin: 350rpx auto 10px; background-color: #0FE3F2; width: 50%; height: 100rpx; display: flex; justify-content: center; align-items: center; border-radius: 25px;">我是学员</view>
		  <view @click="goTeacher" style="font-size: 40rpx; font-weight: 400;background-color: #0FE3F2; width: 50%; height: 100rpx; margin: 50rpx auto 10px; display: flex; justify-content: center; align-items: center; border-radius: 25px;">我是教练</view>
		</view>
	</view>
		
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goStudent(){
				uni.navigateTo({
					url: '/pages/student/login/login',
					animationType: 'slide-out-top',
					animationDuration: 200
				})
			},
			goTeacher(){
				uni.navigateTo({
					url: '/pages/coach/index/index',
					animationType: 'slide-out-top',
					animationDuration: 200
				})
			}
		}
	}
</script>

<style>
	.c1{
		background-color: rgba(247, 247, 247, 0.7);
	}
	.back {
		position: relative;
		width: 100%;
		height: 100vh;
		overflow: hidden;
		background-image: url("http://101.43.223.224:8765/image/getImageById?id=6755");
		/* 超出部分隐藏，可根据需求调整 */
	}
	/* 顶部样式 */
	.div2-2 {
		background-color: #F5F5F5;
		border-radius: 20px 20px;
		height: 70rpx;
		width: 60%;
		margin: 0 auto;
	}
	/* 顶部样式 */
	.div2-2 {
		background-color: #F5F5F5;
		border-radius: 20px 20px;
		height: 70rpx;
		width: 60%;
		margin: 0 auto;
	}
</style>
